class Person:
    def __init__(self, name):
        self.name = name
        self.working_time = None

    def work(self):
        print(self.working_time)


class Man(Person):
    def __init__(self, name):
        Person.__init__(self, name)
        self.working_time = 8


class Woman(Person):
    def __index__(self, name):
        Person.__init__(self, name)
        self.working_time = 6
